package com.itljm.cxrMarket.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itljm.cxrMarket.entity.CarouselImages;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CarouselImagesService extends IService<CarouselImages> {
    List<CarouselImages> selectCarouselImagesByPage(Page<CarouselImages> page, QueryWrapper<CarouselImages> wrapper);
    // 根据id查询轮播图
    CarouselImages selectCarouselImagesById(Integer id);
    // 添加或修改轮播图
    boolean addOrUpdateCarouselImages(CarouselImages carouselImages);
    // 根据id删除轮播图
    boolean deleteCarouselImagesById(Integer id);
}
